<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_content
 *
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Create a shortcut for params.
$params = &$this->item->params;
$images = json_decode($this->item->images);
$canEdit = $this->item->params->get('access-edit');
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
$info = $this->item->params->get('info_block_position', 0);
JHtml::_('behavior.tooltip');
JHtml::_('behavior.framework');
echo $_POST["yearnewsofinput"];
?>
<div class="ja-zincontent-wrap">
    <div class="ja-zincontent clearfix ">
    	<?php 
		if(!empty($images->image_intro)){
		?>
            <div class="ja-zincontent-img left ">
            <?php
            if($this->item->id==54){
			?>
            <a target="_blank" href="http://issuu.com/wmcgroup/docs/wmc_aspire_-_q2_2014?e=12049362/7942170">
                <img align="left" class="left" style="opacity: 1; visibility: visible;" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>" src="<?php echo htmlspecialchars($images->image_intro); ?>">					
            </a>
            <?php 	
			}
			else{
			?>
            <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>">
                <img align="left" class="left" style="opacity: 1; visibility: visible;" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>" src="<?php echo htmlspecialchars($images->image_intro); ?>">					
            </a>
            <?php }?>
            </div>
        <?php 
		}
		?>
        <h2 class="ja-zintitle">
            <strong><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"><?php echo $this->escape($this->item->title); ?></a></strong>
        </h2>
        <div class="ja-zinintro">
        	<p class="datepublish"><?php echo JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC3')); ?></p>
            <div class="contentnews">
            	<?php echo $this->item->introtext;?>
            </div>
        </div>
    </div>
</div>

<?php echo $this->item->event->afterDisplayContent; ?>
